import styled from 'styled-components';

// Parent 组件样式
export const Container = styled.div`
  max-width: 600px;
  margin: 20px auto;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
`;

export const Header = styled.div`
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
`;

// ChildOne 组件样式
export const StatsContainer = styled.div`
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 20px;
  
  > div {
    padding: 15px;
    background-color: #f5f5f5;
    border-radius: 6px;
    text-align: center;
  }
`;

// ChildTwo 组件样式
export const ButtonGroup = styled.div`
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 20px;
  
  .ant-btn {
    min-width: 120px;
    height: 40px;
  }
`;

// ChildThird 组件样式
export const ThirdSection = styled.div`
  padding: 20px;
  background-color: #fafafa;
  border-radius: 6px;
  text-align: center;
	> div {
    padding: 15px;
    border-radius: 6px;
    text-align: center;
  }
`;
